package aviator;

import com.googlecode.aviator.annotation.Function;
import com.googlecode.aviator.annotation.Ignore;
import com.googlecode.aviator.annotation.Import;
import com.googlecode.aviator.annotation.ImportScope;

/**
 * @program JavaBase
 * @description:
 * @author: zhanglu
 * @create: 2020-11-10 18:40:00
 */
@Import(ns = "strUtils", scopes = {ImportScope.Static})
public class StrUtils {

    @Function(rename = "is_empty")
    public boolean isEmpty(String s) {
        return s.isEmpty();
    }

    @Ignore
    public double test(final double a, final double b) {
        return a + b;
    }

}
